extends CharacterBody2D

@onready var animated_sprite_2d = $AnimatedSprite2D

func _process(delta):
	if Input.is_action_pressed("ui_right"):
		animated_sprite_2d.play("run")
	else:
		animated_sprite_2d.stop()
